package com.kaishengit.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.kaishengit.dao.ProjectDao;
import com.kaishengit.pojo.Project;

@Service
@Transactional
public class ProjectService {

	private ProjectDao projectDao;
	
	public void save(Project project) {
		projectDao.saveOrUpdate(project);
	}

	
	@Autowired
	public void setProjectDao(ProjectDao projectDao) {
		this.projectDao = projectDao;
	}

	
}
